package org.baicaix.events {
	import flash.events.Event;

	public class DataEvent extends Event {

		public var data : *;

		public function DataEvent(type : String, value : *, 
				bubbles : Boolean = false, cancelable : Boolean = false) : void {
			super(type, bubbles, cancelable);
			data = value;
		}

		public override function clone() : Event {
			return new DataEvent(type, data, bubbles, cancelable);
		}
	}
}